home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-07-28 | 743 b | 41 lines | [TEXT/MPS ] |
- /*
- File: ThreadUtilities.cp
-
- Copyright: © 1991-1994 by Apple Computer, Inc.
- All rights reserved.
-
- Part of the AOCE Sample SMSAM Package. Consult the license
- which came with this software for your specific legal rights.
-
- */
-
-
-
- #ifndef __THREADUTILITIES__
- #include "ThreadUtilities.h"
- #endif
-
- #ifndef __DEBUGGINGGEAR__
- #include "DebuggingGear.h"
- #endif
-
- #pragma segment Main
-
- /***********************************|****************************************/
-
- #if debug
-
- Ptr BLJFailIfNil(Ptr p, const char* fileName, int line)
- {
- if (!p) {
- keith << "FAILIFNIL: file " << fileName << ", line " << line << endl;
- _failoserr(-108);
- }
-
- return p;
- }
-
- #endif
-
- /***********************************|****************************************/
-